package Business;
/**
 * 商户类
 */

public class Merchant {
    /**
     * 商家
     */
    public String business;

    /**
     *商品
     */
    public String goods;


    public Merchant(String business){
        this("商家","商品");

    }
    public Merchant(String business,String goods){
        this.business=business;
        this.goods=goods;

    }
    public void intro(Taxbureau taxbureau){

        System.out.println(business+"请问我要交多少税费"+"你的"+taxbureau.Taxes+"为"+taxbureau.Personaltax+"元");
        System.out.println("这"+goods+"需要多少钱了");


    }

    public static void main(String[]args){
        Merchant merchant=new Merchant("商家","物品");
        Taxbureau Taxes=new Taxbureau("税款",1000);
        merchant.business="李老板";
        merchant.goods="物品";







        merchant.intro(Taxes);

    }










}
